-- GENERATED SPELL FOR [Sentinel Winterdew] --


function spell0_25014(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25014', 5325, 1)
end

function spell1_25014(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(23337,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25014', 693, 1)
end

function Sorts_25014(pUnit, Event)
local choix_sorts_25014 = math.random(0, 1)
if choix_sorts_25014 == 0 then
pUnit:RegisterEvent('spell0_25014', 1, 1)
end
if choix_sorts_25014 == 1 then
pUnit:RegisterEvent('spell1_25014', 1, 1)
end
end

function mob25014_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25014', math.random(1500, 3000), 1)
end

function mob25014_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25014_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25014_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25014, 1, 'mob25014_Action')
RegisterUnitEvent(25014, 2, 'mob25014_Leave')
RegisterUnitEvent(25014, 3, 'mob25014_Kill')
RegisterUnitEvent(25014, 4, 'mob25014_Die')
